<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Home extends CI_Controller {

	public function  __construct()
	{
		parent::__construct();
		
		$this->load->library('session');
		$this->load->library('cache');
	}
	
	public function index()
	{
		$this 	->output->cache(1)
				->set_content_type('application/json')
				->set_output(json_encode(array('test' => 'Hello World!')));
	}
}
